PaymentPlugins\WooCommerce\PPCP\Integrations\WooCommerceSubscriptions B

Total Complexity 79
Dependencies 18
Dependents 0
Total lines 378
Lines of code 280
Logical lines of code 174
Comment lines 50
Methods 17
Properties 4

Methods 17

Method Rating Maintainability Complexity Lines of code
get_paypal_flow()
A
51 15 25
process_payment()
A
43 10 46
scheduled_subscription_payment()
A
45 7 41
show_card_save_checkbox()
S
59 7 15
process_change_payment_method_request()
S
46 5 36
handle_checkout_validation()
S
55 5 18
add_payment_method_data()
S
62 5 12
get_checkout_payment_method_save_required()
S
64 5 10
get_payment_method_save_required()
S
64 5 10
get_formatted_cart_item()
S
66 4 8
update_failing_payment_method()
S
59 3 14
is_change_payment_method_request()
S
76 2 4
save_order_meta()
S
65 2 9
initialize()
S
59 1 13
add_subscription_payment_meta()
S
63 1 11
is_active()
S
80 1 3
__construct()
S
74 1 5